render: Clip the correct rectangle
authorBenjamin Otte <otte@redhat.com>
Tue, 8 Nov 2016 01:15:43 +0000 (02:15 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 8 Nov 2016 01:32:29 +0000 (02:32 +0100)
We translated before.

gtk/gtkrenderbackground.c

index 80e17dcb183a0fc738630dbd64a3f0003c599201..c3bc5cd2de7faa2162cc6b4847a431ba3786c78b 100644 (file)
@@ -387,7 +387,7 @@ gtk_css_style_render_background (GtkCssStyle      *style,
   if (needs_push_group)
     {
       cairo_save (cr);
-      cairo_rectangle (cr, x, y, width, height);
+      cairo_rectangle (cr, 0, 0, width, height);
       cairo_clip (cr);
       cairo_push_group (cr);
     }